<template>
  <div class="shabilaoban">
          <el-pagination
            :page-sizes="[20, 10, 5]"
            :page-size="queryMap.pageSize"
            :current-page="queryMap.page"
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
            background
            layout="total, sizes, prev, pager, next, jumper"
            :total="total"
          >
          </el-pagination>
        </div>
</template>
<script>
export default {
  data() {
    return {
      total: 0,
      queryMap: {
        page: "1",
        pageSize: "10",
        proType: "2",
        status: "",
        word: "",
        libraryType: "2",
      },
    };
  },
  methods: {
      list() {
      let query = this.queryMap;
      this.$post("/proInquire/planDec/query", query).then((res) => {
        console.log(res);
        this.queryMap.page = res.data.pageNumber
        this.queryMap.pageSize = res.data.pageSize
        this.total = res.data.total
        this.dataList = res.data.rows
      });
    },
  },
};
</script>
<style lang="less" scoped>
.shabilaoban {
  margin-left: 650px;
  margin-top: 30px;
}
</style>